package com.lottery.material.service.portal.config.impl;

import com.lottery.material.dao.conf.SystemParameterConfigMapper;
import com.lottery.material.pojo.conf.SystemParameterConfig;
import com.lottery.material.service.portal.config.SystemParameterConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Description:    系统参数配置服务实现类
 * Author:         sunny
 * CreateDate:     2019-04-19 17:21
 */
@Service
public class SystemParameterConfigServiceImpl implements SystemParameterConfigService {

    @Autowired
    private SystemParameterConfigMapper systemParameterConfigMapper;

    /**
     * description: 根据参数名称查询
     * author sunny
     * createDate 2019-04-19 下午 5:21
     * @param paramName
     * @return
     */
    @Override
    public SystemParameterConfig findByParamName(String paramName) {
        return systemParameterConfigMapper.findByParamName(paramName);
    }
}
